home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Prepare(V37) Prepare(V37)
-
-
- FFOORRMMAATT
- PPRREEPPAARREE [[FFRROOMM] (_f_i_l_e|_p_a_t_t_e_r_n)...] [TTOO _f_i_l_e]
- [TTOOLLOOWWEERR|TTOOUUPPPPEERR] [HHYYPPHHEENN]
-
- TTEEMMPPLLAATTEE
- FFRROOMM//MM,,TTOO//KK,,TTOOLLOOWWEERR//SS,,TTOOUUPPPPEERR//SS,,HHYYPPHHEENN//SS
-
- PPUURRPPOOSSEE
- To extract the words of files and print them one per line.
-
- SSPPEECCIIFFIICCAATTIIOONN
- PPRREEPPAARREE extracts the words of the given files, or the
- default input, and prints them, one per line, to the
- default output, or to the destination specified by the TTOO
- argument. A word is a maximal string of letters from the
- ISO Latin 1 character set. A compound made with hyphens,
- `-', is split up into its constituent parts unless the
- HHYYPPHHEENN switch is specified. In-word apostrophes are recog
- nized, so words like `doesn't' etc. are printed correctly.
- If the TTOOLLOOWWEERR or the TTOOUUPPPPEERR switch is given, the charac
- ters are folded to lower or upper case respectively. It is
- an error if both are given.
-
- PPRREEPPAARREE can, for example, be used with SSOORRTT and UUNNIIQQUUEE to
- produce word lists.
-
- EEXXAAMMPPLLEE
- It is possible to make a _p_o_o_r _m_a_n_'_s spelling checker
- (should be entered as one line):
- 1> PIPE PREPARE foo TOLOWER | SORT IN: OUT: | UNIQUE
- | COMMON dict -1 -3
- where _f_o_o is the file to be checked, and _d_i_c_t is a sorted
- dictionary of words in lower case. The words reported to
- the default output are not in the dictionary, and are
- therefore possible spelling mistakes. This example assumes
- you have Andy Finkel's PPIIPPEE command. Use temporary files
- if you don't.
-
- AAUUTTHHOORR
- Torsten Poulin (torsten@diku.dk)
-
- UUNNRREESSTTRRIICCTTIIOONNSS
- PPRREEPPAARREE is free; anyone may redistribute copies of PPRREEPPAARREE
- to anyone under the terms stated in the GNU General Public
- Licence, a copy of which accompanies each copy of PPRREEPPAARREE.
-
- Torsten Poulin encourages you to improve and extend PPRREE
- PPAARREE, and urges that you contribute your extensions to the
- world.
-
-
-
-
-
-
-
-
- Prepare version 37.4 1 March 1993 1
-
-
-